package com.hkh.erp.system.api.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel(value = "用户分页视图",description = "用户分页视图")
public class UserPageResponse {

    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "用户编号")
    private String userNo;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "用户状态：1启用状态、2停用状态")
    private Integer userStatus;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "员工编号")
    private String hrNo;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "电子邮件地址")
    private String email;

    @ApiModelProperty(value = "wx")
    private String wx;

    @ApiModelProperty(value = "QQ")
    private String qq;

    @ApiModelProperty(value = "钉钉")
    private String dd;

    @ApiModelProperty(value = "最近登录时间")
    private LocalDateTime lastLoginTime;

    @ApiModelProperty(value = "注册时间")
    private LocalDateTime registerTime;

    @ApiModelProperty(value = "登录次数")
    private Integer loginTimes;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "删除标记")
    private Boolean deleteFlag;

    @ApiModelProperty(value = "创建人")
    private String createUser;

    @ApiModelProperty(value = "更新人")
    private String updateUser;
}
